package pl.edu.uj.tcs.blef.protocol;


public final class ParseFailedException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8244114024850468047L;
	/**
	 * Contains the acctual parse error message.
	 * @uml.property  name="error"
	 */
	private String error;

		
		/**
		 * Creates a new parse failed exception with holds the given error.
		 */
		public ParseFailedException(String error){
		this.error = error; }


			
			/**
			 * Return the parse error message.
			 */
			public String toString(){
			return this.error; }

}
